import { createApp } from 'vue'
import App from './App.vue'

// 1. 导入全局使用的组件
import HMContent from './components/HMContent.vue'
import HMHeader from './components/HMHeader.vue'

const app = createApp(App)
// 2. 注册全局组件
app.component('HMContent', HMContent)
app.component('HMHeader', HMHeader)

app.mount('#app')